<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/share/taglib.jsp" %>
<%  String path = request.getContextPath(); %>
<html>
<head>
 	<title>修改详细资料</title>
	 <script type="text/javascript" src="<%=path%>/script/jquery-1.3.2.min.js"></script>
	<link href="<%=path%>/style/imitation.css" rel="stylesheet" type="text/css" />
	<link href="<%=path%>/style/usercenter.css" rel="stylesheet" type="text/css" />
	 <link href="<%=path%>/script/jquery17/ui.all.css" rel="stylesheet" type="text/css" />
	 <link href="<%=path%>/script/jquery17/ui.datepicker.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript">
	</script>
	<style>.last  br{display:none} </style>
</head>
<body>
<center>
<div style="width:950px;">
 <jsp:include page="/head.jsp"/>
 	<jsp:include page="/WEB-INF/share/leftmenu.jsp"/>
 	<div class="span-18 last">
	<s:form action="user_editDetail" namespace="/front" id="usersaddui" method="post" onsubmit="">
	<font color="green"> <s:property value="#request.edit_result"/> </font>
	<table>
				<tr>
					<td class="span-3 rt">性别3:</td>
					<td><s:radio list="#{'男':'男','女':'女'}" listKey="key" listValue="value" name="user.xb" value="user.xb"/>  
					</td>
				</tr>
				<tr>
					<td class="span-3 rt">出生日期:</td>
					<td><s:textfield name="user.csny" value="this is time" id="datepicker" cssClass="text5"/>
					</td>
				</tr>
				<tr>
					<td class="span-3 rt">手机（电话）:</td>
					<td><s:textfield name="user.phone"  id="phone"  cssClass="text5"/>
					</td>
				</tr>
				<tr>
					<td class="span-3 rt">地址:</td>
					<td><s:textfield name="user.address"  id="address"  cssClass="text5"/>
					</td>
				</tr>
				
				
				<tr>
					<td class="span-3 rt">城乡类别:</td>
					<td><s:radio list="#{'农村':'农村','城镇':'城镇'}" listKey="key" listValue="value" name="user.cxmc" value="user.cxmc"/> 
					</td>
				</tr>
				
				<tr>
					<td class="span-3 rt">应往届类别:</td>
					<td><s:radio list="#{'应届':'应届','往届':'往届'}" listKey="key" listValue="value" name="user.ywjmc" value="user.ywjmc"/> 
					</td>
				</tr>
				
				<tr>
					<td class="span-3 rt">是否少数民族:</td>
					<td><s:radio list="#{'汉族':'不是','少数民族':'是'}" listKey="key" listValue="value" name="user.mz" value="user.mz"/> 
					</td>
				</tr>
				<tr>
					<td class="span-3 rt">科类:</td>
					<td><s:select theme="simple" name="user.kldm" list="#{11:'文史类',15:'理工类'}" listKey="key" listValue="value" value="user.kldm"></s:select>
					</td>
				</tr>
				<!-- 
				<tr>
					<td class="span-3 rt">户口所在地:</td>
					<td><s:select theme="simple" name="sexMap" list="#{1:'北碚',2:'江北'}" listKey="key" listValue="value"></s:select>
					</td>
				</tr>
				 -->
				<tr>
					<td class="span-3 rt">目前就读中学：</td>
					<td>
						<!--<s:set name="foobar" value="#{'Java': {'Spring', 'Hibernate', 'Struts 2'}, '.Net': {'Linq', ' ASP.NET 2.0'}, 'Database': {'Oracle', 'SQL Server', 'DB2', 'MySQL'}}" />-->
						<s:set name="zx"  value="%{dqzxMap}"/>
						<s:doubleselect theme="simple" list="#zx.keySet()" name="user.szdqmc" doubleName="user.zxmc"
						doubleList="#zx[top]"  label="zxmc" />
					</td>
				</tr>
				
				
				<tr>
					<td class="span-3 rt">个人简介:</td>
					<td><s:textarea name="user.remark"  id="remark"/>
					</td>
				</tr>
				
				</table>
				<h2></h2>
			<div class="clear">
			<input type="submit" id="savebutton" name="Submit" value="保存" tabindex="8" class="reg_btn blue_link" />
			<input type="button" name="back" value="返回" tabindex="8" class="reg_btn blue_link"
			onclick="javascript:history.go(-1);" />
			
			</div>
	</s:form>
	</div>
 <div  style="float: left;"><jsp:include page="/foot.jsp"/> </div>
 </div>
</center>
	<script src="<%=path%>/script/jquery17/ui.core.js" type="text/javascript"></script>
	 <script src="<%=path%>/script/jquery17/ui.datepicker.js" type="text/javascript"></script>

	<script type="text/javascript" src="<%=path%>/script/jquery.validate-1.3.2.js"></script>
	 <script type="text/javascript" src="<%=path%>/script/jquery.validate.person.js"></script>
	 <script type="text/javascript" src="<%=path%>/script/jquery.validate.message_cn.js"></script>
<script type="text/javascript">
	$(function() {
		$("#datepicker").datepicker();
		$('#datepicker').datepicker('option', {dateFormat: "yy-mm-dd"});
		//$('#datepicker').val('<s:property value="customer.contactTime" />');
		$('#datepicker').val('<s:date name="user.csny" format="yyyy-MM-dd" />');
	});
	$ (document).ready (function() {
		    $ ("#usersaddui").validate ({
		        rules: {
		           
		            'user.username': {
		                required:true,
		                maxlength:20
		            },
		            'user.email': {
		            	required:true,
		            	email:true,
		            	maxlength:20
		            }
		           
		        }
		    });

		});
	
	
 
</script>
</body>
</html>
